import request from '@/utils/request'
// import qs from 'qs'

// 获取登录日志列表
export const getLogLoginList = params => {
  return request({
    url: `/logLogin/list`,
    method: 'get',
    params
  })
}
// 获取操作日志列表
export const getLogList = params => {
  return request({
    url: `/log/list`,
    method: 'get',
    params
  })
}
// 获取操作日志配置列表
export const getLogManageList = params => {
  return request({
    url: `/logManage/list`,
    method: 'get',
    params
  })
}
// 操作日志配置状态修改
export const logManageUpdate = data => {
  return request({
    url: `/logManage/updateStatus`,
    method: 'put',
    data
  })
}
// 更新配置
export const syncLogManage = () => {
  return request({
    url: `/logManage/syncLogManage`,
    method: 'get'
  })
}
